<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="shortcut icon" href="${ctx}/public/logo.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="${ctx}/public/css/font.css">
    <link rel="stylesheet" href="${ctx}/public/css/xadmin.css">
</head>
<body>
<div class="x-body layui-anim layui-anim-up">
    <blockquote class="layui-elem-quote">欢迎管理员：
        <span class="x-red">${sessionScope.user.loginname }</span>！
        <div id="showDate">当前时间:123</div>
    </blockquote>
<%--    <fieldset class="layui-elem-field">--%>
<%--        <legend>数据统计</legend>--%>
<%--        <div class="layui-field-box">--%>
<%--            <div class="layui-col-md12">--%>
<%--                <div class="layui-card">--%>
<%--                    <div class="layui-card-body">--%>
<%--                        <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside"--%>
<%--                             lay-arrow="none" style="width: 100%; height: 90px;">--%>
<%--                            <div carousel-item="">--%>
<%--                                <ul class="layui-row layui-col-space10 layui-this">--%>
<%--                                    <li class="layui-col-xs2">--%>
<%--                                        <a href="javascript:;" class="x-admin-backlog-body">--%>
<%--                                            <h3>管理员数</h3>--%>
<%--                                            <p>--%>
<%--                                                <cite>${headerr.adminNum}</cite></p>--%>
<%--                                        </a>--%>
<%--                                    </li>--%>
<%--                                    <li class="layui-col-xs2">--%>
<%--                                        <a href="javascript:;" class="x-admin-backlog-body">--%>
<%--                                            <h3>部门数</h3>--%>
<%--                                            <p>--%>
<%--                                                <cite>${headerr.deptNum}</cite></p>--%>
<%--                                        </a>--%>
<%--                                    </li>--%>
<%--                                    <li class="layui-col-xs2">--%>
<%--                                        <a href="javascript:;" class="x-admin-backlog-body">--%>
<%--                                            <h3>职工数</h3>--%>
<%--                                            <p>--%>
<%--                                                <cite>${headerr.employeeNum}</cite></p>--%>
<%--                                        </a>--%>
<%--                                    </li>--%>
<%--                                    <li class="layui-col-xs2">--%>
<%--                                        <a href="javascript:;" class="x-admin-backlog-body">--%>
<%--                                            <h3>公告数</h3>--%>
<%--                                            <p>--%>
<%--                                                <cite>${headerr.noticeNum}</cite></p>--%>
<%--                                        </a>--%>
<%--                                    </li>--%>
<%--                                    <li class="layui-col-xs2">--%>
<%--                                        <a href="javascript:;" class="x-admin-backlog-body">--%>
<%--                                            <h3>文件数</h3>--%>
<%--                                            <p>--%>
<%--                                                <cite>${headerr.docNum}</cite></p>--%>
<%--                                        </a>--%>
<%--                                    </li>--%>
<%--                                </ul>--%>
<%--                            </div>--%>
<%--                        </div>--%>
<%--                    </div>--%>
<%--                </div>--%>
<%--            </div>--%>
<%--        </div>--%>
<%--    </fieldset>--%>

    <fieldset class="layui-elem-field">
        <legend>系统信息</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <tbody>
                <tr>
                    <th>版本</th>
                    <td>1.0</td>
                </tr>
                <tr>
                    <th>服务器地址</th>
                    <td>xxxx</td>
                </tr>
                <tr>
                    <th>操作系统</th>
                    <td>win10</td>
                </tr>
                <tr>
                    <th>运行环境</th>
                    <td>Apache Tomcat 8.5.75</td>
                </tr>
                <tr>
                    <th>MYSQL版本</th>
                    <td>5.6</td>
                </tr>
                <tr>
                    <th>jdk</th>
                    <td>1.8</td>
                </tr>
                <tr>
                    <th>剩余空间</th>
                    <td>1wt</td>
                </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>开发团队</legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <tbody>
                <tr>
                    <th>版权所有</th>
                    <td>
                        <a href="" class='x-a' target="_blank">HHQ</a></td>
                </tr>
                <tr>
                    <th>开发者</th>
                    <td>HHQ</td>
                </tr>
                </tbody>
            </table>
        </div>
    </fieldset>
    <blockquote class="layui-elem-quote layui-quote-nm">thanks av8d</blockquote>
</div>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

<script type="text/javascript">
    var i = 0;

    function myDate() {
        var now = new Date();
        var year = now.getFullYear();
        var month = now.getMonth() + 1;
        var day = now.getDate();
        var hours = now.getHours();
        var minutes = now.getMinutes();
        var seconds = now.getSeconds();

        document.getElementById("showDate").innerHTML = "当前时间 :  " + year + "年 " + month + "月 " + day
            + "日 " + hours + "：" + minutes + "：" + seconds;
    }

    setInterval(myDate, 1000);
</script>
</body>
</html>